package com.uw.scenic;

import com.uw.scenic.utils.SpringContextUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@MapperScan("com.uw.scenic.mapper")
public class MybatisFasterApplication {

    public static void main(String[] args) {
        ApplicationContext context= SpringApplication.run(MybatisFasterApplication.class, args);
        SpringContextUtil.setApplicationContext(context);
    }

}